package com.ruoyi.project.user.kkuserInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 用户信息(按kkuid分区)对象 kkuserInfo
 * 
 * @author shixiangwen
 * @date 2024-07-24
 */
public class KkuserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID(分区,尽量用kkuid查询,而非其他字段) */
    private Long kkuid;

    /** 绑定手机号(手机号唯一,如果索引唯一,必须加入主键,才能保证kkuid得以分区) */
    @Excel(name = "绑定手机号(手机号唯一,如果索引唯一,必须加入主键,才能保证kkuid得以分区)")
    private Long phone;

    /** 密码 */
    @Excel(name = "密码")
    private String passwd;

    /** 用户名 */
    @Excel(name = "用户名")
    private String uname;

    /** 学校 */
    @Excel(name = "学校")
    private String school;

    /** 班级 */
    @Excel(name = "班级")
    private String uclass;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 出生年月 */
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birth;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 注册时间 */
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registertime;

    /** 信息状态(1公开,2保密,保留字段) */
    @Excel(name = "信息状态(1公开,2保密,保留字段)")
    private Integer ustatus;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String thumb;

    /** null */
    @Excel(name = "null")
    private String major;

    /** null */
    @Excel(name = "null")
    private String minor;

    public void setKkuid(Long kkuid) 
    {
        this.kkuid = kkuid;
    }

    public Long getKkuid() 
    {
        return kkuid;
    }
    public void setPhone(Long phone) 
    {
        this.phone = phone;
    }

    public Long getPhone() 
    {
        return phone;
    }
    public void setPasswd(String passwd) 
    {
        this.passwd = passwd;
    }

    public String getPasswd() 
    {
        return passwd;
    }
    public void setUname(String uname) 
    {
        this.uname = uname;
    }

    public String getUname() 
    {
        return uname;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }

    public void setUclass(String uclass) 
    {
        this.uclass = uclass;
    }

    public String getUclass() 
    {
        return uclass;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setBirth(Date birth) 
    {
        this.birth = birth;
    }

    public Date getBirth() 
    {
        return birth;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setRegistertime(Date registertime) 
    {
        this.registertime = registertime;
    }

    public Date getRegistertime() 
    {
        return registertime;
    }
    public void setUstatus(Integer ustatus) 
    {
        this.ustatus = ustatus;
    }

    public Integer getUstatus() 
    {
        return ustatus;
    }
    public void setThumb(String thumb) 
    {
        this.thumb = thumb;
    }

    public String getThumb() 
    {
        return thumb;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setMinor(String minor) 
    {
        this.minor = minor;
    }

    public String getMinor() 
    {
        return minor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("kkuid", getKkuid())
            .append("phone", getPhone())
            .append("passwd", getPasswd())
            .append("uname", getUname())
            .append("school", getSchool())
            .append("uclass", getUclass())
            .append("city", getCity())
            .append("birth", getBirth())
            .append("grade", getGrade())
            .append("registertime", getRegistertime())
            .append("ustatus", getUstatus())
            .append("thumb", getThumb())
            .append("major", getMajor())
            .append("minor", getMinor())
            .toString();
    }
}
